<template>
	<view class="student">
		<template>
			<view class="content">
				<uni-notice-bar show-icon scrollable text="邓老师温馨提示你:该教水费/电费/住宿费/学费了" />
				<view style="position: relative;">
					<uni-card :title=student.name  :thumbnail="avatar">
						<view class="uni-body">
							<view>姓名：{{ student.name }}</view>
							<view>性别：{{student.sex == 0 ? '男' : '女' }}</view>
							<view>年龄：{{student.age}}</view>
							<view>学历：{{ student.xueli }}</view>
							<view>家庭住址：{{ student.address }}</view>
							<view>身份证号：{{ student.idcards }}</view>
							<view>手机号：{{ student.iphone }}</view>
							<view>备注：{{ student.mark }}</view>
							<view>入学时间：{{ student.createtime }}</view>
						</view>
					</uni-card>
					</uni-section>
				</view>
			</view>
		</template>
	</view>
</template>

<script>
	import {webgetstudyinfo} from "../../wxapi/main.js"
	export default {
		data() {
			return {
				avatar: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png',
				student:[]
			}
		},
		methods:{
			
		},
		onLoad(e) {
			webgetstudyinfo({id:e.id}).then(res=>{
				this.student = res.data
			})
		}
	}
</script>

<style>
</style>